package org.itboys.admin.entity.lasted;

import org.mongodb.morphia.annotations.Entity;
import org.itboys.mongodb.entity.BaseMongoEntity;
/**
 * 作者：jiangxiong
 * 日期：2017年2月27日
 * 联系方式 ：empty90911@126.com
 * 描述：系统_用户和角色_，江雄重新写的
 */
@Entity(value = "SystemUserRole", noClassnameStored = true)
public class SystemUserRole extends BaseMongoEntity {
	private Long userId;//用户ID
	private Long roleId;//角色ID

	public SystemUserRole() {
	}

	public SystemUserRole(Long userId, Long roleId) {
		this.userId = userId;
		this.roleId = roleId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
